import http from "../http";

interface listParams {}

interface role {
  list: (params: listParams) => Promise<any>;
}

const roleApi: role = {
  list(params) {
    return http.get("/roles", params);
  },
};

export default roleApi;
